﻿@{ 

    var loginInfo = ViewBag.Login_AdminInfo as HANS_BackStage.Model.WebModel.Login_AdminInfo;
}
<div class="top_nav">
    <div class="nav_menu">
        <nav>
            <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
            </div>

            <ul class="nav navbar-nav navbar-right">
                <li class="">
                    <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                        <img src="@(loginInfo.adminEntity.Faceimage.IsNotNullAndNotWhiteSpace()?Url.Content(loginInfo.adminEntity.Faceimage):Url.Content("~/content/Image/login/head_120.png"))" alt="">@loginInfo.Truename
                        <span class=" fa fa-angle-down"></span>
                    </a>
                    <ul class="dropdown-menu dropdown-usermenu pull-right">
                        <li><a href="@Url.Action("MyProfile","Account",new { area=""})"><i class="fa fa-user-circle pull-right"></i>个人中心</a></li>
                        <li><a href='@Url.Action("LoginOut","Home",new { area=""})'><i class="fa fa-sign-out pull-right"></i> 退出</a></li>
                    </ul>
                </li>
            </ul>
        </nav>
    </div>
</div>
